<template>
  <div class="lunbo">
      <mt-swipe :auto="4000">
        <mt-swipe-item v-for="(item,index) in swiper" :key="index"><img class="swiper_img" :src="item.src" alt=""></mt-swipe-item>
      </mt-swipe>
  </div>
</template>

<script>
export default {
    name:'swiper',
    data(){
        return{
            // list:[]
        }
    },
    props:['swiper'],
    methods:{
        // gettext(){
        //     this.$axios.get('http://www.liulongbin.top:3005/api/getthumimages/' + 89).then((res) => {
        //         if(res.data.status == 0){
        //             this.list = res.data.message;
        //         }
        //     })
        // }
    },
    created(){
        // this.gettext();
    }
}
</script>

<style scoped>
.lunbo{
    width:100%;
    height: 150px;
}
.swiper_img{
    width:100%;
    height: 150px;
}

</style>